Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch YAML parse errors #293

Closed
wants to merge 1 commit into from
Closed

Conversation

PhrozenByte
Copy link
Collaborator

Possible solution for #292 (alternative solution: #294), catches all \Symfony\Component\Yaml\Exception\ParseException and adds a YAML_ParseError meta variable with the error message.

It's up to theme designers to show this error message (therefore old themes don't show anything and the error is silently ignored). With the default theme the error message looks like:

sub_page_pico_-_2015-11-29_20 59 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants